home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample PMSAM / PMSAM Framework / RoboSamSlot / OutgoingXLetter.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  2.0 KB  |  84 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        OutgoingXLetter.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Tim Harnett
  7.  
  8.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     1/27/95    TMH        handle unresolved recipients
  13.          <1>     1/13/95    TMH        abstract class for outgoing letter
  14.                  1/11/95    TMH        xxx put comment here xxx
  15.  
  16.     To Do:
  17. */
  18.  
  19. #ifndef __OutgoingXLetter__
  20. #define __OutgoingXLetter__
  21.  
  22. #ifndef __XLetter__
  23. #include "XLetter.h"
  24. #endif
  25.  
  26. class TExternalSlot;
  27. class TOutgoingALetter;
  28. class COutgoingLetterStream;
  29. class CContentReader;
  30. class TAOCEEnclosure;
  31. class CEnclosFileSummary;
  32.  
  33. //--------------------------------------
  34. //        T O u t g o i n g X L e t t e r
  35. //--------------------------------------
  36.  
  37. //    An outgoing external letter.  This letter is created from the 
  38. //    outgoing AOCE letter.
  39.  
  40. class TOutgoingXLetter : public TXLetter {
  41. public:
  42.                     TOutgoingXLetter();
  43.                     ~TOutgoingXLetter();
  44.     
  45.     void            IOutgoingXLetter(TExternalSlot* xSlot, TOutgoingALetter* outgoingALetter,COutgoingLetterStream* outgoingStream);
  46.  
  47.     virtual void     PutHeader();
  48.     virtual void     PutTrailer();
  49.     
  50.     virtual long    PutRecipients(short recipientType);
  51.  
  52.     virtual void    PutUnResolvedRecipients(short recipientType);
  53.     
  54.     virtual OSErr     PutContent();
  55.  
  56.     virtual void     PutText(CContentReader& contentReader);
  57.     virtual void     PutPict(CContentReader& contentReader);
  58.     virtual void     PutSound(CContentReader& contentReader);
  59.     virtual void     PutMovie(CContentReader& contentReader);
  60. //    virtual void     PutStyledText(CContentReader& contentReader);
  61.  
  62.     virtual void    PutEnclosures();
  63.     virtual    void    UploadEnclosureByIndex(unsigned short    theIndex);
  64.  
  65.     virtual void     PutNestedLetters();
  66.     virtual void     PutNestedLetter(MailMsgRef nestedMsgRef);
  67.     
  68.     virtual void     PutNestedRecipients(MailMsgRef nestedMsgRef, short recipientType);
  69.  
  70.     virtual void     AbortSend();
  71.  
  72.  
  73. protected:
  74.     TOutgoingALetter*        fOutgoingALetter;            //    the AOCE letter we found in out tray    
  75.     COutgoingLetterStream*    fOutgoingLetterStream;
  76.     
  77.     TAOCEEnclosure*            fAOCEEnclos;
  78.     CEnclosFileSummary*        fReturnSummary;
  79.     
  80. };
  81.  
  82.  
  83. #endif __OutgoingXLetter__
  84.